
/**
 * @class $$.data.SqlWriter
 * @extends $$.data.SQL 
 * 生成写入数据库的SQL语句。CRUD的Create、Update、Delete部分在这里完成。
 */
$$.data.SqlWriter = function(){
	
}
;(function(){
	$$.data.SqlWriter.prototype = {
	     sqlUpdate	: 'UPDATE {0} SET {1}'
	    ,sqlCreate	: 'INSERT INTO {0} ({2}) VALUES ({1})'
	    ,sqlDelete	: 'DELETE FROM {0} WHERE ID = {1}'	
	};
})();
Object.extend($$.data.SQL, $$.data.SqlWriter);